

class Tree(object):
    ''' '''
    def __init__(self, data):
        self.data = data
        self.children = []
        self.parent = None
        
    def add(self, data):
        tree = Tree(data)
        self.children.append(tree)
        tree.parent = self
    
    
